home *** CD-ROM | disk | FTP | other *** search
/ Chip 2005 August (Alt) / CHIP 2005-08.1.iso / program / shareware / Flash_Oyunlar.exe / rocketbike.swf / scripts / DefineButton2_376 / BUTTONCONDACTION on(press).as
Encoding:
Text File  |  2005-07-13  |  226 b   |  8 lines

  1. on(press){
  2.    _root.changemoney(- price);
  3.    _parent._parent[0].gotoAndStop(_parent._currentframe);
  4.    _parent._parent._parent.starsbox.gotoAndPlay(2);
  5.    _parent._parent.setchanges(_parent._name);
  6.    gotoAndStop(4);
  7. }
  8.